package com.xc.ezplan.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.xc.ezplan.core.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author lixingchen
 * @date 2022/11/19
 * @description 七牛云配置表
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value ="admin_qiniu_config")
@Data
@ApiModel(description = "七牛云配置实体")
public class AdminQiniuConfig extends BaseEntity {
    /**
     * 配置ID
     */
    @TableId(type=IdType.INPUT)
    @ApiModelProperty(value = "配置ID")
    private Long id;

    /**
     * accessKey
     */
    @ApiModelProperty(value = "accessKey")
    private String accessKey;

    /**
     * Bucket 识别符
     */
    @ApiModelProperty(value = "Bucket 识别符")
    private String bucket;

    /**
     * 外链域名
     */
    @ApiModelProperty(value = "外链域名")
    private String host;

    /**
     * secretKey
     */
    @ApiModelProperty(value = "secretKey")
    private String secretKey;

    /**
     * 空间类型
     */
    @ApiModelProperty(value = "空间类型")
    private String type;

    /**
     * 机房
     */
    @ApiModelProperty(value = "机房")
    private String zone;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}